#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.db import models

# Create your models here.

class Host(models.Model):
    HostName = models.CharField(max_length=50)
    IP = models.GenericIPAddressField()

# 将Host汉化成‘主机表’
    class Meta:
        verbose_name_plural = '主机表'